package com.myfum.mobile.tetris.events
{
	import flash.events.Event;
	
	public class ClearedLineEvent extends Event
	{
		public static const LINE_CLEARED:String = "lineCleared";
		
		private var _lines:Vector.<int>;
		
		public function ClearedLineEvent(type:String, lines:Vector.<int>, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			_lines = lines;
		}
		
		public function get lines():Vector.<int>{
			return _lines;
		}
		
		override public function clone():Event{
			var e:ClearedLineEvent = new ClearedLineEvent(type, lines, bubbles, cancelable);
			return e;
		}
	}
}